package com.cloud.poetry.system.demo.entity;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author mengxj
 */
@Data
public class DemoUploadFile {

    @NotNull(message = "备注不能为空")
    private String remark;

    @NotNull(message = "文件不能为空")
    private MultipartFile file;
}
